package com.ftg.learn.chapter12.springbootdemo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;

/**
 * @author 布衣
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户列表实体")
public class UserVo {

    @ApiModelProperty("用户id")
    Integer id;
    @ApiModelProperty("用户名")
    String username;
    @ApiModelProperty("真实姓名")
    String realname;
    @ApiModelProperty("性别")
    String gender;
    @ApiModelProperty("手机号")
    String phone;
    @ApiModelProperty("创建时间")
    LocalDate create_time;
    @ApiModelProperty("备注")
    String info;

}
